package com.jy.adscm.operation.aftersales.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.jy.adscm.bean.system.JyUser;
import com.jy.adscm.exception.AdscmSystemException;
import com.jy.adscm.operation.aftersales.bean.QueryShRepair;
import com.jy.adscm.operation.aftersales.bean.ShRepair;
import com.baomidou.mybatisplus.service.IService;
import com.jy.adscm.security.utils.Token;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zyl
 * @since 2019-08-21
 */
public interface ShRepairService extends IService<ShRepair> {

    boolean insertShRepair(ShRepair shRepair);

    boolean updateShRepair(ShRepair shRepair, Token token) throws AdscmSystemException;

    Page<ShRepair> selectShRepair(Page<ShRepair> page, QueryShRepair queryShRepair);

    List<JyUser> selectRepairPersons();
}
